//  CommandLineTest
//  Created by shukang on 2023/1/19.

#import <Foundation/Foundation.h>

@interface MyClass : NSObject
+ (NSInteger)roundUpToNearestFifty:(NSInteger)number;
@end

@implementation MyClass
+ (NSInteger)roundUpToNearestFifty:(NSInteger)number {
    CGFloat quotient = ((number + 49) / 50.0);
    return (ceil(quotient)) * 50;
}

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        NSInteger result = [MyClass roundUpToNearestFifty:0];
        NSLog(@"Next multiple of 50: %ld", (long)result);
        NSLog(@"Hello World1");
        NSLog(@"Hello World2");
        NSLog(@"Hello World3");
        NSLog(@"Hello World4");
        NSLog(@"Hello World5");
        NSLog(@"Hello World6");
    }
    return 0;
}

@end

